import Vue from 'vue'
const eventBus = new Vue({
  name: 'eventBus',
  data: function () {
    return {
      popOption: {
        ifshow: false,
        showLoading: false,
        showTx: false,
        content: ''
      },
      test: 1
    }
  }
});
// eventBus.$watch('this._data.popOption', function (newVal, oldVal) {
//   console.log(newVal);
//   // 做点什么
// })
// console.log('vue');
// console.log(Vue);
// console.log(eventBus);
export default eventBus;
